package negocio;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;

public class Cliente {
    
    private int id_cliente;
    private String login;
    private String senha;
    private String email1;
    private String email2;
    private int telefone1;
    private int telefone2;
    private int telefone3;
    private CEP cep;
    private int numero;
    private String CPF_CPNJ;
    private String contato;
    private int nivel; //0 - cliente // 1 - Funcionário // 2 - Super // 3 - Administrador
    private String nome;
    private String complemento;
    private List<Veiculo> carros;
    private List<Orcamento> orcamento;
    
    public List<String> getErros() {
        List <String> erros = new List<String>() {

            @Override
            public int size() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean isEmpty() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean contains(Object o) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public Iterator<String> iterator() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public Object[] toArray() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public <T> T[] toArray(T[] a) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean add(String e) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean remove(Object o) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean containsAll(Collection<?> c) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean addAll(Collection<? extends String> c) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean addAll(int index, Collection<? extends String> c) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean removeAll(Collection<?> c) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public boolean retainAll(Collection<?> c) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public void clear() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public String get(int index) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public String set(int index, String element) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public void add(int index, String element) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public String remove(int index) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public int indexOf(Object o) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public int lastIndexOf(Object o) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public ListIterator<String> listIterator() {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public ListIterator<String> listIterator(int index) {
                throw new UnsupportedOperationException("Not supported yet.");
            }

            @Override
            public List<String> subList(int fromIndex, int toIndex) {
                throw new UnsupportedOperationException("Not supported yet.");
            }
        };
        return erros;
    }

    public String getCPF_CPNJ() {
        return CPF_CPNJ;
    }

    public void setCPF_CPNJ(String CPF_CPNJ) {
        this.CPF_CPNJ = CPF_CPNJ;
    }

    public List<Veiculo> getCarros() {
        return carros;
    }

    public void setCarros(List<Veiculo> carros) {
        this.carros = carros;
    }

    public CEP getCep() {
        return cep;
    }

    public void setCep(CEP cep) {
        this.cep = cep;
    }

    public String getComplemento() {
        return complemento;
    }

    public void setComplemento(String complemento) {
        this.complemento = complemento;
    }

    public String getContato() {
        return contato;
    }

    public void setContato(String contato) {
        this.contato = contato;
    }

    public String getEmail1() {
        return email1;
    }

    public void setEmail1(String email1) {
        this.email1 = email1;
    }

    public String getEmail2() {
        return email2;
    }

    public void setEmail2(String email2) {
        this.email2 = email2;
    }

    public int getId_cliente() {
        return id_cliente;
    }

    public void setId_cliente(int id_cliente) {
        this.id_cliente = id_cliente;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public int getNivel() {
        return nivel;
    }

    public void setNivel(int nivel) {
        this.nivel = nivel;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public int getNumero() {
        return numero;
    }

    public void setNumero(int numero) {
        this.numero = numero;
    }

    public List<Orcamento> getOrcamento() {
        return orcamento;
    }

    public void setOrcamento(List<Orcamento> orcamento) {
        this.orcamento = orcamento;
    }

    public String getSenha() {
        return senha;
    }

    public void setSenha(String senha) {
        this.senha = senha;
    }

    public int getTelefone1() {
        return telefone1;
    }

    public void setTelefone1(int telefone1) {
        this.telefone1 = telefone1;
    }

    public int getTelefone2() {
        return telefone2;
    }

    public void setTelefone2(int telefone2) {
        this.telefone2 = telefone2;
    }

    public int getTelefone3() {
        return telefone3;
    }

    public void setTelefone3(int telefone3) {
        this.telefone3 = telefone3;
    }
    
}